package twentyThreePattern.zMixed.command_chain.command;

import twentyThreePattern.zMixed.command_chain.command_name.CommandName;
import twentyThreePattern.zMixed.command_chain.command_name.ls.AbstractLS;
import twentyThreePattern.zMixed.command_chain.util.CommandVO;

public class LSCommand extends Command {

	@Override
	public String execute(CommandVO vo) {
		// 返回链表的首节点
		CommandName firstNode = super.buildChain(AbstractLS.class).get(0);
		return firstNode.handleMessage(vo);
	}

}
